package cn.lsnu.modules.testpro.controller;

import cn.lsnu.modules.testpro.controller.impl.TestAop;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestAopWay {

    public static  void main(String args[]){
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("config/applicationContext.xml");
        TestAop testAop = (TestAop) applicationContext.getBean("testAop");
        testAop.testWay();
    }
}
